<template>
	<view>
		<view class="group">
			<view>
				<image class="grade" src="/static/image/yysb-beifen@2x.png"></image>

				<view class="top_group">
					<text class="title" v-model="group">登记失败，{{group}}s 后返回</text>
				</view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				group: 3
			}
		},
		onLoad() {
			this.timer = setInterval(() => {
				// this.group = this.group - 1
				-- this.group
				if (this.group < 0) {
					this.group = 0;
					clearInterval(this.timer)
					// uni.redirectTo({
					// 	url: "/pages/visitingRegistration/visitingRegistration"
					// });
				}
			}, 1000)
		},
		methods: {}
	}
</script>

<style>
	page {
		background-color: #ebeff6;
	}

	.situation {
		width: 100%;
		height: 80rpx;
		background-color: #FFFFFF;
		margin-right: 24rpx;
	}

	.pic {
		width: 80rpx;
		margin-left: -30rpx;
		overflow: hidden;
	}

	.lolo {
		width: 44rpx;
		height: 44rpx;
		float: left;
		filter: drop-shadow(50rpx 0rpx black);
	}

	.product {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}

	.produce {
		margin-top: -45rpx;
		margin-right: 36rpx;
		font-weight: bold;
		font-size: 36rpx;
		color: #333333;
	}

	.group {
		display: flex;
		justify-content: space-around;
	}

	.grade {
		width: 280rpx;
		height: 220rpx;
		top: 20rpx;
		margin-top: 280rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.top_group {
		display: flex;
		flex-direction: row;
		align-items: center;
		font-size: 28rpx;
		font-weight: bold;
		color: #333333;
		margin-top: 30rpx;
		margin-left: 18rpx;
	}
</style>
